import request  from  '@/utils/request'
//获得数据
export function getRodList(obj){
    return request ({
        url:'/pole/info/list',
        method:'GET',
        params:obj
    })
}
//得到下拉列表
export function getRodxl(){
    return request({
        url:'/parking/area/dropList',
        method:'GET'
    })
}
//删除
export function delRod(id){
    return request ({
        url:'/pole/info/' + id,
        method:'DELETE'
    })
}
//添加一体杆
export function addRodAPI(obj){
    return request ({
        url: '/pole/info',
        method: 'POST',
        data: obj
    })
}
//编辑一体杆
export function editRodAPI(obj){
    return request ({
        url: '/pole/info',
        method: 'PUT',
        data: obj
    })
}
